<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('游戏名称')}:</label>
        <div class="row" data-toggle="cxselect" data-selects="game_id,pid">
            <div class="col-xs-12 col-sm-2">
                <select class="game_id form-control" name="row[game_id]"
                        data-url="games/tradefee/cxselect?type=game">
                </select>
            </div>
            <div class="col-xs-12 col-sm-3">
                <select class="pid form-control" name="row[pid]"
                        data-url="games/tradefee/cxselect?type=pid"
                        data-query-name="gameid"></select>
            </div>
            <input type="hidden" class="operate" data-name="gt_id" value="="/>
            <input type="hidden" class="operate" data-name="pid" value="="/>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('安全服务')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[safe]', ['2'=>__('无服务'),'1'=>__('找回包赔')],null,['class'=>'anquanfuwu'])}
        </div>
    </div>

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('心意购')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            {:build_select('row[xyg]', ['1'=>__('无'), '2'=>__('有')])}-->
<!--        </div>-->
<!--    </div>-->

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('商品类型')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            {:build_select('row[type]', ['1'=>__('账号'), '2'=>__('金币')])}-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('寄售方式')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[method]', ['1'=>__('平台代发'), '2'=>__('卖家发货')])}
        </div>
    </div>

    <div class="form-group service_fee">
        <label class="control-label col-xs-12 col-sm-2">{:__('平台服务费')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="service_fee_val" class="form-control" name="row[service]" type="text">
        </div>
    </div>

<!--    <div class="form-group xyg_fee" style="display: none;">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('心意购服务费')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-first" class="form-control" name="row[xyg_fee]" type="text">-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('交易手续费')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="trade_fee_val" class="form-control" name="row[trade]" type="text">
        </div>
    </div>



    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
